/*
 * # Copyright (c) 2023. 秋城落叶, Inc. All Rights Reserved
 * # @作者         : 秋城落叶(QiuChenly)
 * # @邮件         : 1925374620@qq.com
 * # @文件         : 项目 [WebSourceCode] - MyMP3.js
 * # @修改时间    : 2023-03-08 03:49:09
 * # @上次修改    : 2023/3/8 上午3:49
 */

let window = {
    '__VUE__': true,
    location: {
        "ancestorOrigins": {},
        "href": "https://tools.liumingye.cn/music/#/search/M/song/%E4%B9%8C%E6%A2%85%E5%AD%90%E9%85%B1%20",
        "origin": "https://tools.liumingye.cn",
        "protocol": "https:",
        "host": "tools.liumingye.cn",
        "hostname": "tools.liumingye.cn",
        "port": "",
        "pathname": "/music/",
        "search": "",
        "hash": '#/search/M/song/%E4%B9%8C%E6%A2%85%E5%AD%90%E9%85%B1%20%20'
    },
    navigator: {
        userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.50",
    }
}

function encode(e) {
    const s = {
        UzZuv: function (e) {
            return e()
        },
        ddFWv: function (e, t) {
            return e(t)
        },
        wsfpP: 'IllIIII'
    };
    var i = {
        ilIiIlII: function (e, t) {
            return e === t
        },
        I11li1lI: function (e) {
            return s['UzZuv'](e)
        },
        i1lIlii: function (e, t) {
            return e(t)
        },
        lIlI1li1: 'window',
        II1i1Ii: function (e, t, n) {
            return e(t, n)
        },
        Ill1iIII: function (e, t) {
            return e + t
        },
        IllIIII: '20221222.'
    };
    var t = qs();
    if (Hs(window)) {
        var a = Js(t['toString'](), e['toString']());
        var b = Ys(a)
        // b = 'sOyG'
        let c = ZE.MD5(b)
        return i['Ill1iIII'](i[s.wsfpP], c)
    }
    String['prototype']['toString'] = function () {
    }
}

// i['II1i1Ii'](Js, t['toString'](), e['toString']());

const Hs = function (e) {
    return Object['prototype']['toString']['call'](e)['slice'](8, -1)['toLowerCase'](), "window"
}, Qs = function (e) {
    return typeof e
}, qs = function () {
    const t = {
        Oklrv: function (e, t, n) {
            return e(t, n)
        },
        Qabov: function (e, t) {
            return e(t)
        },
        fRgXe: function (e, t) {
            return e(t)
        },
        qhqcb: "ofdI"
    };
    var s = {
        iliii1II: function (e, t) {
            return e + t
        },
        i1ll1i1l: '「Fuck You」',
        liiI1l1: function (e, t) {
            return e !== t
        },
        IIIIliIi: function (e, t) {
            return e(t)
        },
        lilI1lI1: 'srszlqlvcqfocihoejaahrppxminkwxzkdtdwnjbevuybgguymft',
        ii11llil: function (e, t) {
            return e !== t
        },
        lli11Iil: function (e, t) {
            return e(t)
        },
        i1lil11I: function (e, t) {
            return e !== t
        },
        lIIi1i1l: function (e, t) {
            return e(t)
        },
        l1l1il1I: 'xffvrhtlezcvmasnsdkjuqbkcgxizyormeatwdujhpglpwyboniq',
        Il1i111I: function (e, t) {
            return e(t)
        },
        Ill1liI: 'oegdcjlhzkwifilqmmntawrpcjgoevstuuvhnxzdyxqrykpbfabs',
        lIilIl1l: function (e, t) {
            return e === t
        },
        lIii1ii: function (e, t) {
            return e(t)
        },
        lIli1IIl: function (e, t) {
            return e === t
        },
        iiI11lll: 'H2huuwXf8wN9Cx5K3lEQkdg4VTCJqIb440QQX95OQye1D092292BI6rgjFgK9mcx',
        ililiiiI: 'fuosrbnnmcikvotxwlajwfcyhhzmkjbyzsiageteqxupdgqprvdl'
    };
    s['iliii1II'](s['i1ll1i1l'], Date['now']());
    return s['liiI1l1'](s['IIIIliIi'](Qs, window), 'object') ? s['lilI1lI1'] : s['ii11llil'](s['lli11Iil'](Qs, window['location']), 'object') || s['i1lil11I'](s['lIIi1i1l'](Qs, window['location']['host']), 'string') ? s['l1l1il1I'] : s.i1lil11I(s['lIIi1i1l'](Qs, window['navigator']), 'object') || s['i1lil11I'](s['Il1i111I'](Qs, window['navigator']['userAgent']), 'string') ? s['Ill1liI'] : s['lIilIl1l'](s['lIii1ii'](Qs, window['__VUE__']), 'boolean') && s['lIli1IIl'](window['__VUE__'], !0) ? s['iiI11lll'] : s['ililiiiI']
};

var YE, ZE;
var KE = {
    exports: {}
};

function XE() {
    return YE || (YE = 1,
        KE.exports = function (e, t) {
            var n;
            if ("undefined" != typeof window && window.crypto && (n = window.crypto),
            "undefined" != typeof self && self.crypto && (n = self.crypto),
            "undefined" != typeof globalThis && globalThis.crypto && (n = globalThis.crypto),
            !n && "undefined" != typeof window && window.msCrypto && (n = window.msCrypto),
            !n && void 0 !== gh && gh.crypto && (n = gh.crypto),
                !n)
                try {
                    n = GE
                } catch (v) {
                }
            var r = function () {
                if (n) {
                    if ("function" == typeof n.getRandomValues)
                        try {
                            return n.getRandomValues(new Uint32Array(1))[0]
                        } catch (v) {
                        }
                    if ("function" == typeof n.randomBytes)
                        try {
                            return n.randomBytes(4).readInt32LE()
                        } catch (v) {
                        }
                }
                throw new Error("Native crypto module could not be used to get secure random number.")
            }
                , o = Object.create || function () {
                function e() {
                }

                return function (t) {
                    var n;
                    return e.prototype = t,
                        n = new e,
                        e.prototype = null,
                        n
                }
            }()
                , i = {}
                , a = i.lib = {}
                , l = a.Base = {
                extend: function (e) {
                    var t = o(this);
                    return e && t.mixIn(e),
                    t.hasOwnProperty("init") && this.init !== t.init || (t.init = function () {
                            t.$super.init.apply(this, arguments)
                        }
                    ),
                        t.init.prototype = t,
                        t.$super = this,
                        t
                },
                create: function () {
                    var e = this.extend();
                    return e.init.apply(e, arguments),
                        e
                },
                init: function () {
                },
                mixIn: function (e) {
                    for (var t in e)
                        e.hasOwnProperty(t) && (this[t] = e[t]);
                    e.hasOwnProperty("toString") && (this.toString = e.toString)
                },
                clone: function () {
                    return this.init.prototype.extend(this)
                }
            }
                , s = a.WordArray = l.extend({
                init: function (e, n) {
                    e = this.words = e || [],
                        this.sigBytes = n != t ? n : 4 * e.length
                },
                toString: function (e) {
                    return (e || c).stringify(this)
                },
                concat: function (e) {
                    var t = this.words
                        , n = e.words
                        , r = this.sigBytes
                        , o = e.sigBytes;
                    if (this.clamp(),
                    r % 4)
                        for (var i = 0; i < o; i++) {
                            var a = n[i >>> 2] >>> 24 - i % 4 * 8 & 255;
                            t[r + i >>> 2] |= a << 24 - (r + i) % 4 * 8
                        }
                    else
                        for (var l = 0; l < o; l += 4)
                            t[r + l >>> 2] = n[l >>> 2];
                    return this.sigBytes += o,
                        this
                },
                clamp: function () {
                    var t = this.words
                        , n = this.sigBytes;
                    t[n >>> 2] &= 4294967295 << 32 - n % 4 * 8,
                        t.length = e.ceil(n / 4)
                },
                clone: function () {
                    var e = l.clone.call(this);
                    return e.words = this.words.slice(0),
                        e
                },
                random: function (e) {
                    for (var t = [], n = 0; n < e; n += 4)
                        t.push(r());
                    return new s.init(t, e)
                }
            })
                , u = i.enc = {}
                , c = u.Hex = {
                stringify: function (e) {
                    for (var t = e.words, n = e.sigBytes, r = [], o = 0; o < n; o++) {
                        var i = t[o >>> 2] >>> 24 - o % 4 * 8 & 255;
                        r.push((i >>> 4).toString(16)),
                            r.push((15 & i).toString(16))
                    }
                    return r.join("")
                },
                parse: function (e) {
                    for (var t = e.length, n = [], r = 0; r < t; r += 2)
                        n[r >>> 3] |= parseInt(e.substr(r, 2), 16) << 24 - r % 8 * 4;
                    return new s.init(n, t / 2)
                }
            }
                , p = u.Latin1 = {
                stringify: function (e) {
                    for (var t = e.words, n = e.sigBytes, r = [], o = 0; o < n; o++) {
                        var i = t[o >>> 2] >>> 24 - o % 4 * 8 & 255;
                        r.push(String.fromCharCode(i))
                    }
                    return r.join("")
                },
                parse: function (e) {
                    for (var t = e.length, n = [], r = 0; r < t; r++)
                        n[r >>> 2] |= (255 & e.charCodeAt(r)) << 24 - r % 4 * 8;
                    return new s.init(n, t)
                }
            }
                , d = u.Utf8 = {
                stringify: function (e) {
                    try {
                        return decodeURIComponent(escape(p.stringify(e)))
                    } catch (t) {
                        throw new Error("Malformed UTF-8 data")
                    }
                },
                parse: function (e) {
                    return p.parse(unescape(encodeURIComponent(e)))
                }
            }
                , f = a.BufferedBlockAlgorithm = l.extend({
                reset: function () {
                    this._data = new s.init,
                        this._nDataBytes = 0
                },
                _append: function (e) {
                    "string" == typeof e && (e = d.parse(e)),
                        this._data.concat(e),
                        this._nDataBytes += e.sigBytes
                },
                _process: function (t) {
                    var n, r = this._data, o = r.words, i = r.sigBytes, a = this.blockSize, l = i / (4 * a),
                        u = (l = t ? e.ceil(l) : e.max((0 | l) - this._minBufferSize, 0)) * a, c = e.min(4 * u, i);
                    if (u) {
                        for (var p = 0; p < u; p += a)
                            this._doProcessBlock(o, p);
                        n = o.splice(0, u),
                            r.sigBytes -= c
                    }
                    return new s.init(n, c)
                },
                clone: function () {
                    var e = l.clone.call(this);
                    return e._data = this._data.clone(),
                        e
                },
                _minBufferSize: 0
            });
            a.Hasher = f.extend({
                cfg: l.extend(),
                init: function (e) {
                    this.cfg = this.cfg.extend(e),
                        this.reset()
                },
                reset: function () {
                    f.reset.call(this),
                        this._doReset()
                },
                update: function (e) {
                    return this._append(e),
                        this._process(),
                        this
                },
                finalize: function (e) {
                    return e && this._append(e),
                        this._doFinalize()
                },
                blockSize: 16,
                _createHelper: function (e) {
                    return function (t, n) {
                        return new e.init(n).finalize(t)
                    }
                },
                _createHmacHelper: function (e) {
                    return function (t, n) {
                        return new h.HMAC.init(e, n).finalize(t)
                    }
                }
            });
            var h = i.algo = {};
            return i
        }(Math));
}

ZE = XE();
(function (e) {
    var t = ZE
        , n = t.lib
        , r = n.WordArray
        , o = n.Hasher
        , i = t.algo
        , a = [];
    !function () {
        for (var t = 0; t < 64; t++)
            a[t] = 4294967296 * e.abs(e.sin(t + 1)) | 0
    }();
    var l = i.MD5 = o.extend({
        _doReset: function () {
            this._hash = new r.init([1732584193, 4023233417, 2562383102, 271733878])
        },
        _doProcessBlock: function (e, t) {
            for (var n = 0; n < 16; n++) {
                var r = t + n
                    , o = e[r];
                e[r] = 16711935 & (o << 8 | o >>> 24) | 4278255360 & (o << 24 | o >>> 8)
            }
            var i = this._hash.words
                , l = e[t + 0]
                , d = e[t + 1]
                , f = e[t + 2]
                , h = e[t + 3]
                , v = e[t + 4]
                , m = e[t + 5]
                , g = e[t + 6]
                , y = e[t + 7]
                , b = e[t + 8]
                , _ = e[t + 9]
                , w = e[t + 10]
                , k = e[t + 11]
                , x = e[t + 12]
                , S = e[t + 13]
                , C = e[t + 14]
                , O = e[t + 15]
                , j = i[0]
                , E = i[1]
                , T = i[2]
                , L = i[3];
            j = s(j, E, T, L, l, 7, a[0]),
                L = s(L, j, E, T, d, 12, a[1]),
                T = s(T, L, j, E, f, 17, a[2]),
                E = s(E, T, L, j, h, 22, a[3]),
                j = s(j, E, T, L, v, 7, a[4]),
                L = s(L, j, E, T, m, 12, a[5]),
                T = s(T, L, j, E, g, 17, a[6]),
                E = s(E, T, L, j, y, 22, a[7]),
                j = s(j, E, T, L, b, 7, a[8]),
                L = s(L, j, E, T, _, 12, a[9]),
                T = s(T, L, j, E, w, 17, a[10]),
                E = s(E, T, L, j, k, 22, a[11]),
                j = s(j, E, T, L, x, 7, a[12]),
                L = s(L, j, E, T, S, 12, a[13]),
                T = s(T, L, j, E, C, 17, a[14]),
                j = u(j, E = s(E, T, L, j, O, 22, a[15]), T, L, d, 5, a[16]),
                L = u(L, j, E, T, g, 9, a[17]),
                T = u(T, L, j, E, k, 14, a[18]),
                E = u(E, T, L, j, l, 20, a[19]),
                j = u(j, E, T, L, m, 5, a[20]),
                L = u(L, j, E, T, w, 9, a[21]),
                T = u(T, L, j, E, O, 14, a[22]),
                E = u(E, T, L, j, v, 20, a[23]),
                j = u(j, E, T, L, _, 5, a[24]),
                L = u(L, j, E, T, C, 9, a[25]),
                T = u(T, L, j, E, h, 14, a[26]),
                E = u(E, T, L, j, b, 20, a[27]),
                j = u(j, E, T, L, S, 5, a[28]),
                L = u(L, j, E, T, f, 9, a[29]),
                T = u(T, L, j, E, y, 14, a[30]),
                j = c(j, E = u(E, T, L, j, x, 20, a[31]), T, L, m, 4, a[32]),
                L = c(L, j, E, T, b, 11, a[33]),
                T = c(T, L, j, E, k, 16, a[34]),
                E = c(E, T, L, j, C, 23, a[35]),
                j = c(j, E, T, L, d, 4, a[36]),
                L = c(L, j, E, T, v, 11, a[37]),
                T = c(T, L, j, E, y, 16, a[38]),
                E = c(E, T, L, j, w, 23, a[39]),
                j = c(j, E, T, L, S, 4, a[40]),
                L = c(L, j, E, T, l, 11, a[41]),
                T = c(T, L, j, E, h, 16, a[42]),
                E = c(E, T, L, j, g, 23, a[43]),
                j = c(j, E, T, L, _, 4, a[44]),
                L = c(L, j, E, T, x, 11, a[45]),
                T = c(T, L, j, E, O, 16, a[46]),
                j = p(j, E = c(E, T, L, j, f, 23, a[47]), T, L, l, 6, a[48]),
                L = p(L, j, E, T, y, 10, a[49]),
                T = p(T, L, j, E, C, 15, a[50]),
                E = p(E, T, L, j, m, 21, a[51]),
                j = p(j, E, T, L, x, 6, a[52]),
                L = p(L, j, E, T, h, 10, a[53]),
                T = p(T, L, j, E, w, 15, a[54]),
                E = p(E, T, L, j, d, 21, a[55]),
                j = p(j, E, T, L, b, 6, a[56]),
                L = p(L, j, E, T, O, 10, a[57]),
                T = p(T, L, j, E, g, 15, a[58]),
                E = p(E, T, L, j, S, 21, a[59]),
                j = p(j, E, T, L, v, 6, a[60]),
                L = p(L, j, E, T, k, 10, a[61]),
                T = p(T, L, j, E, f, 15, a[62]),
                E = p(E, T, L, j, _, 21, a[63]),
                i[0] = i[0] + j | 0,
                i[1] = i[1] + E | 0,
                i[2] = i[2] + T | 0,
                i[3] = i[3] + L | 0
        },
        _doFinalize: function () {
            var t = this._data
                , n = t.words
                , r = 8 * this._nDataBytes
                , o = 8 * t.sigBytes;
            n[o >>> 5] |= 128 << 24 - o % 32;
            var i = e.floor(r / 4294967296)
                , a = r;
            n[15 + (o + 64 >>> 9 << 4)] = 16711935 & (i << 8 | i >>> 24) | 4278255360 & (i << 24 | i >>> 8),
                n[14 + (o + 64 >>> 9 << 4)] = 16711935 & (a << 8 | a >>> 24) | 4278255360 & (a << 24 | a >>> 8),
                t.sigBytes = 4 * (n.length + 1),
                this._process();
            for (var l = this._hash, s = l.words, u = 0; u < 4; u++) {
                var c = s[u];
                s[u] = 16711935 & (c << 8 | c >>> 24) | 4278255360 & (c << 24 | c >>> 8)
            }
            return l
        },
        clone: function () {
            var e = o.clone.call(this);
            return e._hash = this._hash.clone(),
                e
        }
    });

    function s(e, t, n, r, o, i, a) {
        var l = e + (t & n | ~t & r) + o + a;
        return (l << i | l >>> 32 - i) + t
    }

    function u(e, t, n, r, o, i, a) {
        var l = e + (t & r | n & ~r) + o + a;
        return (l << i | l >>> 32 - i) + t
    }

    function c(e, t, n, r, o, i, a) {
        var l = e + (t ^ n ^ r) + o + a;
        return (l << i | l >>> 32 - i) + t
    }

    function p(e, t, n, r, o, i, a) {
        var l = e + (n ^ (t | ~r)) + o + a;
        return (l << i | l >>> 32 - i) + t
    }

    t.MD5 = o._createHelper(l)
    t.HmacMD5 = o._createHmacHelper(l)
})(Math)

function Js(e, t) {
    const s = {
        fKXtE: function (e, t) {
            return e - t
        }, zuJZr: 'i1iIiili', UNrsU: function (e, t, n) {
            return e(t, n)
        }, ceRzg: function (e, t) {
            return e(t)
        }, lhIoZ: function (e, t) {
            return e(t)
        }, UpLOW: 'III1111l', QwCnA: "Ii1llI1I", njisw: function (e, t) {
            return e(t)
        }, UKpEU: function (e, t) {
            return e(t)
        }
    };
    for (var i = {
        iIli1l1l: '3|0|1|2|4',
        li1Iii1i: function (e, t) {
            return e !== t
        }, III1111l: function (e, t) {
            return e(t)
        }, liIi1i11: function (e, t) {
            return e !== t
        }, Ii1llI1I: function (e, t) {
            return e(t)
        }, ii1iiIIl: function (e, t) {
            return e(t)
        }, iiiII1il: function (e, t) {
            return e === t
        }, iiIIiil1: function (e, t) {
            return e(t)
        }, i1iIiili: function (e, t) {
            return e ^ t
        }, Il1I1il1: function (e, t, n) {
            return e(t, n)
        }, lili1i1i: function (e, t) {
            return s['fKXtE'](e, t)
        }, iIIliIiI: function (e, t) {
            return e + t
        }
    }, a = i.iIli1l1l.split("|"), l = 0; ;) {
        switch (a[l++]) {
            case "0":
                var r = t.split("");
                continue;
            case "1":
                var c = 114514;
                continue;
            case "2":
                c = Qs(window) !== 'object' ?
                    4 :
                    i["liIi1i11"](i['III1111l'](Qs, window['location']), 'object')
                    || i["liIi1i11"](i['Ii1llI1I'](Qs, window['location']['host']), 'string') ?
                        3 :
                        i['liIi1i11'](i['Ii1llI1I'](Qs, window['navigator']), 'object') ||
                        i['liIi1i11'](i['ii1iiIIl'](Qs, window['navigator']['userAgent']), 'string') ?
                            2 :
                            i['iiiII1il'](i['iiIIiil1'](Qs, window['__VUE__']), 'boolean') &&
                            i['iiiII1il'](window['__VUE__'], !0) ? 1 : 0;
                continue;
            case "3":
                var u = {
                    IiliIilI: function (e, t) {
                        return i['i1iIiili'](e, t)
                    }, IiIiiil: function (e, t, n) {
                        return i['Il1I1il1'](e, t, n)
                    }, Ill11i1i: function (e, t) {
                        return i['lili1i1i'](e, t)
                    }, ilIlIlI1: function (e, t) {
                        return i['iIIliIiI'](e, t)
                    }
                };
                continue;
            case "4":
                return r['map']((function (t, i) {
                    return u['IiliIilI'](t['charCodeAt'](0), u['IiIiiil'](Gs, e, u['Ill11i1i'](u['ilIlIlI1'](i, c), 1)))
                }))
        }
        break
    }
}

function Gs(e, t) {
    var s, o;
    return e['charCodeAt'](Math['floor']((s = t, o = e['length'], s % o)))
}


const Ws = 'QsVmt4rpqPFJyWcg1Y/SRAuLMTedB375XZNDlOGxj6b2van9=C8UhHKE+wifIkoz0';

function Ys(e) {
    const n = {
        iJqzo: function (e, t) {
            return e & t
        }, vroHZ: function (e, t) {
            return e < t
        }, vhgge: function (e, t, n) {
            return e(t, n)
        }, nRofL: function (e, t, n) {
            return e(t, n)
        }, EYMJk: function (e, t, n) {
            return e(t, n)
        }, TfLvg: function (e, t, n) {
            return e(t, n)
        }, HfOOV: 'iiIIli1I', FveJB: function (e, t, n) {
            return e(t, n)
        }
    };
    for (var o = {
        IiIlllll: '3|0|4|1|2', iI1illl1: function (e, t) {
            return e % t
        }, IIll1I11: function (e, t) {
            return e + t
        }, illiIIl1: function (e, t) {
            return e - t
        }, iIIilIli: '===', Il1lIii1: function (e, t) {
            return e || t
        }, llI111l: '0|8|7|1|5|4|6|3|2', iiIIli1I: function (e, t) {
            return e | t
        }, i1liIl1l: function (e, t) {
            return e << t
        }, I1lll1I: function (e, t) {
            return e + t
        }, l1iI1: function (e, s) {
            return n['iJqzo'](e, s)
        }, lI1iI11I: function (e, t) {
            return e >> t
        }, i1iIilI: function (e, t) {
            return e >> t
        }, i1lI1II: function (e, s) {
            return n['vroHZ'](e, s)
        }
    }, i = o['IiIlllll']['split']("|"), a = 0; ;) {
        switch (i[a++]) {
            case "0":
                if (!e) return e;
                continue;
            case "1":
                var l = o['iI1illl1'](e['length'], 3);
                continue;
            case "2":
                return o['IIll1I11'](l ? g['slice'](0, o['illiIIl1'](l, 3)) : g, o['iIIilIli']['slice'](o['Il1lIii1'](l, 3)));
            case "3":
                var r, c, u, p, m, f, h, y, v = 0, g = "";
                continue;
            case "4":
                do {
                    for (var w = o['llI111l']['split']("|"), b = 0; ;) {
                        switch (w[b++]) {
                            case "0":
                                r = e[v++];
                                continue;
                            case "1":
                                y = o['iiIIli1I'](o['iiIIli1I'](o['i1liIl1l'](r, 16), o['i1liIl1l'](c, 8)), u);
                                continue;
                            case "2":
                                g += o['IIll1I11'](o['IIll1I11'](o['I1lll1I'](Ws['charAt'](p), Ws['charAt'](m)), Ws['charAt'](f)), Ws['charAt'](h));
                                continue;
                            case "3":
                                h = o['l1iI1'](y, 63);
                                continue;
                            case "4":
                                m = o['l1iI1'](o['lI1iI11I'](y, 12), 63);
                                continue;
                            case "5":
                                p = o['l1iI1'](o['i1iIilI'](y, 18), 63);
                                continue;
                            case "6":
                                f = o['l1iI1'](o['i1iIilI'](y, 6), 63);
                                continue;
                            case "7":
                                u = e[v++];
                                continue;
                            case "8":
                                c = e[v++];
                                continue
                        }
                        break
                    }
                } while (o['i1lI1II'](v, e['length']));
                continue
        }
        break
    }
}


function Main() {
//Test POST
    let js = {"type": "YQM", "text": "爱如火", "page": 1, "v": "beta", "_t": Date.now()}
    let jss = encodeURIComponent(JSON.stringify(js));
    let token = encode(jss)
    js['token'] = token
    console.log(JSON.stringify(js))

// Test Get
//https://test.quanjian.com.cn/m/api/link?id=b3f634HzOLrfMF9SfoAo_MlWcRUNYwMjYwjQvfPEFjqVxS2vzPxM&quality=2000&_t=1678233056794&token=20221222.283e19946a887fc029cc0fec59ec0f20
    var link = {}
    for (var a of 'id=m3f63OtUGNZoMDio1KvZRtWA8lc_NI68vfX71iVA7dWSL0qLZFeLha7Yo3R_Ocp8&quality=2000&_t=1678250499293'.split("&")) {
        var b = a.split('=')
        link[b[0]] = b[1]
    }
    jss = encodeURIComponent(JSON.stringify(link));
    token = encode(jss)
    js['token'] = token
    console.log(JSON.stringify(js))
}

const EncodeEx = (jsons) => {
    jsons['_t'] = Date.now().toString()
    let js = JSON.stringify(jsons)
    console.log("willEncrypt", js)
    let jss = encodeURIComponent(js);
    jsons['token'] = encode(jss)
    console.log("willEncrypted", jsons['token'])
    return jsons
}
export default EncodeEx

// https://tools.liumingye.cn/
// 本算法为此网站最新混淆算法

// Main()
// //id=d3f636iePH3nJMVUD1wLvTGG0frI0ve5mQtegWsjbc0wCj3mcc_al&quality=2000&_t=1678249541583
// let res = EncodeEx({
//     "id": "d3f636iePH3nJMVUD1wLvTGG0frI0ve5mQtegWsjbc0wCj3mcc_al",
//     "quality": "2000",
//     "_t": "1678249541583"
// })
//
// console.log(res)
//post
// e.data = e['data'] || {};
// e['data']._t = Date.now();
// e['data']['token'] = Ks.encode(encodeURIComponent(JSON.stringify(e['data'])));
//"get"
// e['params'] = e.params || {};
// e['params']._t = Date.now();
// e['params']['token'] = Ks.encode(encodeURIComponent(JSON.stringify(e['params'])));

